const { defineConfig } = require('@vue/cli-service')

module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      // 只要像users路径请求的，代理到target 目标地址上
      '/adminapi': {
        target: 'http://127.0.0.1:3000/',
        changOrigin:true,
      },
    }
  }
})
